Fix rendering of unsymmetric borders
authorMatthias Clasen <mclasen@redhat.com>
Sun, 10 Jan 2016 04:42:37 +0000 (23:42 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Sun, 10 Jan 2016 04:44:43 +0000 (23:44 -0500)
There was an errant path that threw off our clipping for
the top section of the border.

https://bugzilla.gnome.org/show_bug.cgi?id=722937

gtk/gtkrenderborder.c

index 84f81428cfc906dfbd110b48b24d9680d37207f6..6940f6f6deee2581fae3f08b57972bc9b61dffdd 100644 (file)
@@ -511,7 +511,6 @@ render_frame_stroke (cairo_t       *cr,
       GtkRoundedBox padding_box;
 
       padding_box = *border_box;
-      _gtk_rounded_box_path (&padding_box, cr);
       _gtk_rounded_box_shrink (&padding_box,
                                border_width[GTK_CSS_TOP],
                                border_width[GTK_CSS_RIGHT],